/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package modelmapping;

import java.io.Serializable;


/**
 *
 * @author Valentina
 */

//@Entity
//@Table(name="user",catalog="pentalab")
//@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
//@DiscriminatorColumn(name="DTYPE",discriminatorType=DiscriminatorType.STRING)
//@DiscriminatorValue("VO")


abstract public class VO implements Serializable{
    
    private Long id;
    private String name;

    public VO() {
    }

    public VO(String name) {
        this.name = name;
    }

    public VO(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    } 
}